package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 客户表实体类
 */

@Data
@Api(tags = "客户视图")
@TableName(value = "sys_client")
public class ClientBean {

    @ApiModelProperty(value = "编号",hidden = true)
    @TableId(value = "pk_clientId")
    private int id;

    @ApiModelProperty(value = "客户名称")
    @TableField(value = "clientName")
    private String clientName;

    @ApiModelProperty(value = "负责人")
    @TableField(value = "clientManager")
    private String clientManager;

    @ApiModelProperty(value = "客户电话")
    @TableField(value = "clientPhone")
    private String clientPhone;

    @ApiModelProperty(value = "客户地址")
    @TableField(value = "clientAddress")
    private String clientAddress;

    @ApiModelProperty(value = "客户邮箱")
    @TableField(value = "clientEmail")
    private String clientEmail;

    @ApiModelProperty(value = "经营范围")
    @TableField(value = "clientRange")
    private String clientRange;

    @TableField(value = "totalMoney")
    private int totalMoney;


    public ClientBean() {
    }

    public ClientBean(String clientName, String clientManager,String clientRange, String clientPhone, String clientAddress, String clientEmail ) {
        this.clientName = clientName;
        this.clientManager = clientManager;
        this.clientPhone = clientPhone;
        this.clientRange = clientRange;
        this.clientAddress = clientAddress;
        this.clientEmail = clientEmail;
    }
}
